//package android.meetingatsb.widget
//
//import android.content.Context
//import android.support.v4.app.FragmentManager
//import android.support.v4.app.FragmentPagerAdapter
//
///**
// * Created by ZS on 2017/12/19.
// */
//class TabFragmentAdapter(fm: FragmentManager, private val context: Context) : FragmentPagerAdapter(fm) {
//    //    val fragment:List<Fragment>
//    internal val PAGE_COUNT = 2
//    private val tabTitles = arrayOf("活动详情", "活动留言")
//
//
//    override fun getItem(position: Int) {
////        Log.i("Tablayout",position.toString())
//        if (position == 0)
//            return DatingDetailFragment.newInstance(position + 1)
//        return DatingMessageFragment.newInstance(position + 1)
//    }
//
//    override fun getCount(): Int {
//        return PAGE_COUNT
//    }
//
//    override fun getPageTitle(position: Int): CharSequence {
//        return tabTitles[position]
//    }
//}